package com.ztmg.water.service.order;

import com.ztmg.water.dto.base.DeliveryManDTO;
import com.ztmg.water.dto.bills.OutPutBillsDTO;
import com.ztmg.water.dto.order.OrderPayDTO;
import com.ztmg.water.model.order.OrderWater;
import com.ztmg.water.vo.order.OrderWaterVO;
import com.ztmg.water.dto.order.OrderWaterDTO;
import com.ztmg.water.dto.order.OrderWaterPageDTO;
import com.ztmg.common.util.resultUtils.JsonResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OrderWaterService{

		JsonResult create(OrderWaterDTO dto);
		JsonResult update(OrderWaterDTO dto);
		JsonResult<OrderWaterVO> selectById(Integer id);
		JsonResult<OrderWaterVO> select(OrderWaterDTO dto);
		JsonResult<PageInfo<OrderWaterVO>> selectPage(OrderWaterPageDTO dto);
		JsonResult deleteById(Integer id);
		JsonResult delete(OrderWaterDTO dto);
		JsonResult toPay(OrderPayDTO dto);
		JsonResult<List<OrderWaterVO>>  selectOrderListByDeliveryMan(DeliveryManDTO dto);
		JsonResult<List<OrderWaterVO>>  selectOrderListByOrderID(OutPutBillsDTO dto);
		JsonResult selectCountOrderListByDeliveryMan(DeliveryManDTO dto);
}
